﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="ColunaDireitaSite.ascx.cs" Inherits="Amoo.WebControls.ColunaDireitaSite" %>

<!-- Lista de Noticias e Comunidades -->
<style type="text/css">
    .style1
    {
        width: 1197px;
    }
</style>
<table style="border-color: #bce098" border=0 cellpadding=0 cellspacing=0>
    <tr>
        <td>
            <!--Login-->
            <div id='dvBoxLogin' runat=server visible=true>
                <table cellpadding="5" cellspacing="0" border=0 width=100%>
                    <tr>
                        <td width="5%" align="left" valign="top">
                            <img src="/Images/iconLogin.png" width=40px height=40px />
                        </td>
                        <td width="99%" align="left" valign="top">
                            <table>
                                <tr>
                                    <td class="style1"><font color="#609f60" size="4"><strong>Usuário<strong></font></td>
                                </tr>
                                <tr>
                                    <td class="style1">
                                        <asp:TextBox runat='server' ID='txtNome' CssClass="input" size='20'></asp:TextBox>
                                        <br><font color="#609f60">*[seunome]@amoo.com.br</font>
                                    </td>
                                </tr>
                                <tr>
                                    <td class="style1"><font color="#609f60" size="4"><strong>Senha<strong></font></td>
                                </tr>
                                <tr>
                                    <td class="style1">
                                        <asp:TextBox TextMode=Password runat='server' ID='txtSenha' CssClass="input" size='20'></asp:TextBox>
                                    </td>
                                </tr>
                                <tr>
                                    <td align=right class="style1"><asp:ImageButton ImageUrl="~/Images/ok.gif" width='30px' 
                                            Height='30px' runat=server onclick="Unnamed1_Click" /></td>
                                </tr>
                            </table>
                        </td>
                    </tr>
                </table>
            </div>
            <div id='dvUsuarioLogado' runat=server visible=false style="vertical-align:top;">
                <table cellpadding="5" cellspacing="0" border=0 width=100%>
                    <tr>
                        <td width="5%" align="left" valign="top">
                            <img src="/Images/engrenagem.jpg" width=40px height=40px />
                        </td>                    
                        <td width="99%" align="left" valign="top">
                            <table width=100% cellpadding="0" cellspacing="0" border=0 >
                                <tr>
                                    <td><font color="#609f60" size="3">Ola, <strong><asp:Label ID='lblNomeusuario' runat=server></asp:Label><strong></font></td>
                                </tr>
                                <tr>
                                    <td width=100%>
                                        <table border=0 cellpadding=3 cellspacing=5 width=100%>
                                            <tr>
                                                <td width=100%>
                                                    <table border='0' cellpadding=5 cellspacing=0 width=100%>
                                                        <col width=30px />
                                                        <col />
                                                        <tr>
                                                            <td><asp:ImageButton ImageUrl="~/Images/comunidade.jpg" Width=30px Height=30px runat=server ID="btnComunidade"/></td>
                                                            <td><font color="#FF8112" size="2"><strong><asp:Label ID='lblQtdeComunidades' runat=server></asp:Label></strong> Comunidades</font></td>
                                                        </tr>
                                                        <tr>
                                                            <td><asp:ImageButton ImageUrl="~/Images/icon_news_32.png" Width=30px Height=30px runat=server ID="btnNoticia"/></td>
                                                            <td><font color="#FF8112" size="2"><strong><asp:Label ID='lblQtdeNoticias' runat=server></asp:Label></strong> Noticias</font></td>
                                                        </tr>
                                                        <tr>
                                                            <td><asp:ImageButton ImageUrl="~/Images/banner.gif" Width=30px Height=30px runat=server ID="btnBanner"/></td>
                                                            <td><font color="#FF8112" size="2"><strong><asp:Label ID='lblQtdeBanners' runat=server></asp:Label></strong> Banners</font></td>
                                                        </tr>
                                                    </table>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td width=100%>
                                                    <font color="#609f60" size="3"><a href="/default.aspx">visualize</a></font> ou
                                                    <font color="#609f60" size="3"><a href="/Comunidade/CadastroComunidade.aspx"> administre</a></font> suas comunidades!
                                                </td> 
                                            </tr>                                          
                                            <tr>                                          
                                                <td width=100% align=right>
                                                        <asp:ImageButton ImageUrl="~/Images/sair.png" width=40px height=40px 
                                                            id='btnSair' runat="server" onclick="btnSair_Click" />
                                                </td>
                                            </tr>
                                        </table>
                                    </td>
                                </tr>
                            </table>
                        </td>
                    </tr>
                </table>
            </div>
            <!--Login-->
            <hr style="color:#bce098">
            <table cellpadding="0" cellspacing="0" border=0 width=100%>
                <tr>
                    <td align=left><font style='font-family:Arial Black; font-size:15px; font-style:italic; color:#FF8112'>ULTIMAS COMUNIDADES</font>&nbsp;<font style='font-family:Arial Black; font-size:10px; font-style:italic; color:#000000'>>></FONT></td>
                </tr>
            </table>
            
            <div id='dvUltimasNovidades' runat='server'></div>            
        </td>
    </tr>
</table>
<!-- Lista de Noticias e Comunidades -->